package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;
import com.yidiandao.business.data.net.BaseResponse;
import com.yidiandao.business.data.recyclertype.Article;

import java.util.List;

/**
 * 发现-一级搜索-Response
 * <p>
 * Created by ChenTao(chentao7v@gmail.com) on 2017/4/13 0013 18:22
 */
public class DiscoverySearchResponse extends BaseResponse {


    @SerializedName("data")
    private List<Data> data;

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public static class Data {

        @SerializedName("cat_id")
        private String catId;

        @SerializedName("cat_name")
        private String catName;

        @SerializedName("article_list")
        private List<Article> articleList;

        public String getCatId() {
            return catId;
        }

        public void setCatId(String catId) {
            this.catId = catId;
        }

        public String getCatName() {
            return catName;
        }

        public void setCatName(String catName) {
            this.catName = catName;
        }

        public List<Article> getArticleList() {
            return articleList;
        }

        public void setArticleList(List<Article> articleList) {
            this.articleList = articleList;
        }
    }
}
